# $Id: CMakeLists.txt 656007 2022-09-13 15:14:27Z gouriano $

# NCBI_add_library(serial cserial)
# NCBI_add_subdirectory(datatool test soap grpc_integration)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../include)

add_library(xser "hookdata.cpp"
"hookdatakey.cpp"
"typeinfo.cpp"
"objectinfo.cpp"
"objectiter.cpp"
"objectio.cpp"
"typeref.cpp"
"typemap.cpp"
"stdtypes.cpp"
"enumerated.cpp"
"ptrinfo.cpp"
"autoptrinfo.cpp"
"continfo.cpp"
"stltypes.cpp"
"memberid.cpp"
"memberlist.cpp"
"item.cpp"
"classinfob.cpp"
"member.cpp"
"classinfo.cpp"
"variant.cpp"
"choice.cpp"
"choiceptr.cpp"
"aliasinfo.cpp"
"objistr.cpp"
"objostr.cpp"
"objcopy.cpp"
"iterator.cpp"
"serial.cpp"
"delaybuf.cpp"
"pack_string.cpp"
"exception.cpp"
"objhook.cpp"
"objlist.cpp"
"objstack.cpp"
"objostrasn.cpp"
"objistrasn.cpp"
"objostrasnb.cpp"
"objistrasnb.cpp"
"objostrxml.cpp"
"objistrxml.cpp"
"objostrjson.cpp"
"objistrjson.cpp"
"serializable.cpp"
"serialobject.cpp"
"pathhook.cpp"
"rpcbase.cpp")

target_link_libraries(xser xutil)
target_link_directories(xser PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../include)
